package com.maxmlr.framework.mybatisplus.session;

import com.maxmlr.framework.mybatisplus.mapper.MapperData;

import java.util.List;

/**
 * @ClassName SqlSession
 * @Description TODO
 * @Author maxiao
 * @Date 2020/3/19 下午4:56
 * @Version V1.0
 */
public interface SqlSession {

    <T> List<T> selectList(MapperData<T> mapperData, Object parameter) throws Exception;

    <T> T selectOne(MapperData<T> mapperData, Object parameter) throws Exception;

}
